home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 9568 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  911 b 

  1. Path: news.monmouth.com!srkumar
  2. From: srkumar@shell.monmouth.com (Senthil Kumar)
  3. Newsgroups: comp.lang.c,comp.lang.c++
  4. Subject: Re: Access carry flag from C
  5. Date: 2 Mar 1996 20:39:08 GMT
  6. Organization: Monmouth Internet Corporation
  7. Message-ID: <slrn4jhcfc.j9c.srkumar@shell.monmouth.com>
  8. References: <Dn1C9z.DGv.0.net@indra.com> <ARTHUR.96Feb20143404@gold.Smallworld.co.uk> <TANMOY.96Feb28091041@qcd.lanl.gov>
  9. NNTP-Posting-Host: shell.monmouth.com
  10. X-Newsreader: slrn (0.8.3)
  11.  
  12. On 28 Feb 1996 16:10:41 GMT,
  13. Tanmoy Bhattacharya <tanmoy@qcd.lanl.gov> wrote:
  14.  
  15. > SK: >    (expr1) ? expr2 : (expr3)
  16. > SK: > 
  17. > One understands better by thinking than by having things explained :-)
  18.  
  19. Truly :-)
  20.  
  21. I did not think of the parentheses as need for all expresssions.
  22.  
  23. As Russell Blackadar, (russell@mdli.com) suggested, it is neccessary for
  24.  
  25. a=b ? expr2 : c,d; // would really mean  a = (b ? expr2 : c), e;
  26.  
  27. thanks,
  28. Senthil
  29.  
  30.